﻿#pragma once
#include "Identity.h"
#include "OrderFile.h"
#include "ComputerRoomFile.h"
class Teacher :
	public Identity
{
public:
	Teacher();// 默认构造
	Teacher(int id, string name, string pwd);
	Teacher(int id, string name, string pwd, OrderFile* o, ComputerRoomFile* c);// 有参构造
	~Teacher();// 默认析构
	virtual void operMenu();// 老师菜单界面
	void showAllOrder();// 展示所有预约
	void reviewOrder();// 审核预约
public:
	int m_Id;// 老师编号
	OrderFile* m_orderFile;// 预约文件类
	ComputerRoomFile* m_ComputerRoomFile;// 机房文件类
	map<int, Order> m_mReviewOrder;// 可以审核的记录
};
